home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 39
/
039.d81
/
printing lab
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
8KB
|
247 lines
10 print"[147]"chr$(142):poke53280,0:poke53281,0
100 gosub 60000
130 :
140 :
150 gosub 63000
250 geta$:ifa$=""then 250
251 ifa$<"0"ora$>"9"then250
252 x=val(a$)
254 ifx=0 then 1500
255 gosub 61500
260 onxgoto270,340,410,450,490,610,980,1180,1300,1500
265 goto 150
270 print"[147]":open4,4,0:print#4,chr$(14)+chr$(31)
280 print#4,"vic chip memory map (40 col.)":print#4,chr$(15)
285 print#4:gosub1490
290 print#4,spc(16);"111111111122222222223333333333"
300 print#4,spc(6);"0123456789012345678901234567890123456789"
305 print#4:print#4
310 fori=1024to1984step40
320 print#4,i;:forx=0to39:print#4,"[207]";:next:print#4,"[199]":printchr$(13):next
330 forx=0to45:print#4,"[163]";:next:gosub1470:print"[147]":gosub1450:goto140
340 print"[147]":open4,4,0:print#4,chr$(14)+chr$(31)
350 print#4,"vic chip color map (40 col.)":print#4,chr$(15)
355 print#4:gosub1490
360 print#4,spc(17);"111111111122222222223333333333"
370 print#4,spc(7);"0123456789012345678901234567890123456789"
375 print#4:print#4
380 fori=55296to56256step40
390 print#4,i;:forx=0to39:print#4,"[207]";:next:print#4,"[199]":printchr$(13):next
400 forx=0to46:print#4,"[163]";:next:gosub1470:print"[147]":gosub1450:goto140
410 print"[147]":open4,4,0:forp=1to2:print#4,chr$(14)+chr$(31)
420 forx=1to2:print#4,"memo[218]memo[218]memo[218]memo ";:nextx
425 print#4:print#4,chr$(159)
430 forl=1to13:print#4,"[164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164] [164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164]":print#4
440 nextl:nextp:print"[147]":gosub1450:goto140
450 gosub1430:print"[147]":open4,4,0:print#4,chr$(14)+chr$(31):forx=1to4
460 print#4,"[218]shopping[218]";:next:print#4:forx=1to4
470 print#4,"[218] list [218]";:next:print#4,chr$(159):forl=1to29:forx=1to4
480 print#4," [164][164][164][164][164][164][164][164] ";:next:print#4:print#4:next:print"[147]"
485 gosub1450:goto140
490 print"[147]":open4,4,0:form=1to2:print#4,chr$(31):forx=1to2
500 print#4,"to [164][164][164][164][164][164][164][164][164][164][164][164][164][164][164] from [164][164][164][164][164][164][164][164][164][164][164][164][164][164] ";:nextx:print#4
510 print#4,chr$(14)+chr$(31)
520 print#4,"while you were out! while you were out!"
525 print#4,chr$(15):forx=1to2
530 print#4,"m [164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164] of [164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164] ";:nextx
535 print#4:print#4
540 forx=1to2:print#4,"ph# [164][164][164][164][164][164][164][164][164][164][164][164][164][164] ext# [164][164][164][164][164][164][164][164][164][164][164][164][164][164] ";
545 nextx:print#4
550 print#4
560 forx=1to2:print#4,"called [], urgent [], please call [], ";
565 nextx:print#4:print#4
570 forx=1to2:print#4,"message [164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164] ";:nextx
580 print#4:print#4,chr$(159):forz=1to8
590 forx=1to2:print#4,"[164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164] ";:nextx
595 print#4
600 print#4:nextz:print#4:nextm:print"[147]":gosub1450:goto140
610 print"[147]":open4,4:print#4,chr$(14)+chr$(31):form=1to19
620 print"[147][159] printing lab's cover designs ":print
630 print"[152] a=basketweave ":print" b=hearts "
640 print" c=x's and o's ":print" d=diamonds "
650 print" e=playing card":print" f=checker brd."
660 print" g=brick work ":print" h=mosaic tile "
670 print" i=geometric ":print" j=diagonals "
680 print" k=deco-art i ":print" l=deco-art ii "
685 print"[154] enter cover ":print" design "
690 getcv$:ifcv$=""then690
695 ifasc(cv$)<65orasc(cv$)>76orlen(cv$)=>2thenprint"[145][145]":cv$="":goto690
700 print:print" printing... ":print
710 ifcv$="a"thena$="[208]":b$="[186]":n=9:print#4,chr$(14):goto830
720 ifcv$="b"thena$="[211]":b$=" ":n=17:print#4,chr$(15):goto830
730 ifcv$="c"thena$="x":b$="o":n=9:print#4,chr$(14):goto830
740 ifcv$="d"thena$="[206]":b$="[205]":n=17:print#4,chr$(15):goto830
750 ifcv$="e"thena$="[193][211]":b$="[218][216]":n=9:print#4,chr$(15):goto830
760 ifcv$="f"thena$="[166]":b$=" ":n=17:print#4,chr$(15):goto830
770 ifcv$="g"thena$="[177]":b$="[178]":n=17:print#4,chr$(15):goto830
780 ifcv$="h"thena$="[201][213]":b$="[203][202]":n=9:print#4,chr$(15):goto830
790 ifcv$="i"thena$="[169]":b$="[223]":n=9:print#4,chr$(14):goto830
800 ifcv$="k"thena$="[214]":b$="[219]":n=9:print#4,chr$(14):goto830
810 ifcv$="j"thena$="[186]":b$="[207]":n=9:print#4,chr$(14):goto830
820 ifcv$="l"thena$="[223]":b$="[169]":n=18:print#4,chr$(15):goto830
830 print#4,chr$(31):form=1to19:forx=1ton:print#4,a$;b$;:next
835 gosub1490:print#4
840 forx=1ton:print#4,b$;a$;:next:print#4:next:forx=1to13:print#4:next
850 print"[154][147] enter the inside message "
855 print" press return on a separate line"
856 print" when ready to continue
860 ln[178]40:nu[178]0:[141]61000
870 [139]b$[178]""[167] 930
880 an$[178]b$
900 :
910 [152]4,[199](15):kk[178][181](52[171]([195](an$)[173]2)):[152]4,[166]kk),;an$:[152]4
920 an$[178]"":a$[178]"":[137]860
930 [153]"for type a one liner on back ? (y/n) ":[153]
940 [161]a$:[139]a$[178]""[167]940
945 [139]a$[178]"n"[176]a$[178]"(NULL)" [167] 960
946 [139]a$[178]"y"[176]a$[178]"(NULL)" [167] 950
947 [137] 940
950 [153]:[153]" what is the credit to print :";:ln[178]19:[141]61000:ff$[178]b$
951 [152]4,[166]5),;ff$
955 [152]4
960 [153]"load":[141]1450:[137]140
970 :
980 [153]"load"
985 [159]4,4,0:[153]"open custom letterhead mode is now active"
987 [153]:[153]" e=enhanced, n=normal, q=quit, (e/n/q) "
990 [153]" which print mode do you wish ?"
991 [161]m$:[139]m$[178]""[167]991
992 [139]m$[178]"e"[176]m$[178]"n"[176]m$[178]"q"[167] 1000
995 [137] 991
1000 :
1010 [139]m$[178]"q"[167]1120
1025 [139]m$[178]"e"[167][152]4,[199](31)[170][199](14):ln[178]20
1035 [139]m$[178]"n"[167][152]4,[199](31)[170][199](15):ln[178]59
1040 an$[178]"":ln[178]20:[139]m$[178]"n"[167]ln[178]60
1044 [153]"enter text now. up to "ln[171]1" chars long"
1045 [153]"press return on a seperate line to quit":[153]
1050 nu[178]0:[141]61000
1060 [139]b$[178]""[167] 1130
1070 an$[178]b$
1100 [139]m$[178]"e"[167]xt[178][181](10[171]([195](an$)[173]2)):[152]4,[166]xt),;an$:[137]1050
1110 [139]m$[178]"n"[167]xt[178][181](30[171]([195](an$)[173]2)):[152]4,[166]xt),;an$:[137]1050
1120 [153]"load":[141]1450:[137]140
1130 [153]"clr should i draw a line across the top, "
1140 [153]"clr to separate the letterhead (y/n) close? "
1150 [161]a$:[139]a$[178]""[167]1150
1160 [139]a$[178]"y"[167]1165
1161 [139]a$[178]"n"[167]1120
1162 [137] 1150
1165 [152]4,[199](14)[199](159):[129]x[178]1[164]40:[152]4,"to";:[130]:[137]1120
1170 [137]1120
1180 [153]"load":[159]4,4,0:[152]4,[199](31)
1190 [153]"open typewriter with normal print mode "
1200 [153]" is now active. type in up to 80 cols. "
1210 [153]"press return on a seperate line to quit":[153]
1220 an$[178]""
1230 ln[178]81:nu[178]0:[141]61000
1240 [139]b$[178]""[167] 1290
1250 [152]4,b$:[137]1220
1290 [152]4,[199](15):[153]"load":[141]1450:[137]140
1300 [153]"load":[159]4,4,0:[152]4,[199](31)[170][199](14)
1310 [153]"open typewriter with enhanced print mode"
1320 [153]" is now active. type in up to 40 cols. "
1325 [153]"press return on a seperate line to quit":[153]
1330 ln[178]41
1340 nu[178]0:[141]61000
1350 [139]b$[178]""[167] 1400
1360 [152]4,b$:[137]1330
1400 [152]4,[199](15):[153]"load":[141]1450:[137]140
1410 p[178][195](k$):tx[178]40[171]p[173]2:[129]d[178]1[164][195](k$)[171]20
1420 [153]xr$[166]tx)[200](k$,d)[201](k$,p[171](p[171]d)):tx[178]tx[171]1:[130]:[142]
1430 :
1450 [159]10,4,10:[152]10:[160]10:[160]4:x[178]0:i[178]0:p[178]0:l[178]0:z[178]0:m[178]0:n[178]0:kk[178]0
1460 xt[178]0:a$[178]"":b$[178]"":an$[178]"":ff$[178]"":tx[178]